package cn.sxt.logistics.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单明细表
 * </p>
 *
 * @author ${author}
 * @since 2020-06-24
 */
@TableName("t_order_detail")
public class OrderDetail implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 订单id
     */
      private Long orderId;

      /**
     * 货品名称
     */
      private String goodsName;

      /**
     * 货品数量
     */
      private Integer goodsNumber;

      /**
     * 货品单位
     */
      private String goodsUnit;

      /**
     * 货物单价
     */
      private BigDecimal goodsUnitPrice;

      /**
     * 货品总价
     */
      private BigDecimal goodsTotal;

      /**
     * 货品描述
     */
      private String goodsRemark;

    
    public Long getOrderId() {
        return orderId;
    }

      public void setOrderId(Long orderId) {
          this.orderId = orderId;
      }
    
    public String getGoodsName() {
        return goodsName;
    }

      public void setGoodsName(String goodsName) {
          this.goodsName = goodsName;
      }
    
    public Integer getGoodsNumber() {
        return goodsNumber;
    }

      public void setGoodsNumber(Integer goodsNumber) {
          this.goodsNumber = goodsNumber;
      }
    
    public String getGoodsUnit() {
        return goodsUnit;
    }

      public void setGoodsUnit(String goodsUnit) {
          this.goodsUnit = goodsUnit;
      }
    
    public BigDecimal getGoodsUnitPrice() {
        return goodsUnitPrice;
    }

      public void setGoodsUnitPrice(BigDecimal goodsUnitPrice) {
          this.goodsUnitPrice = goodsUnitPrice;
      }
    
    public BigDecimal getGoodsTotal() {
        return goodsTotal;
    }

      public void setGoodsTotal(BigDecimal goodsTotal) {
          this.goodsTotal = goodsTotal;
      }
    
    public String getGoodsRemark() {
        return goodsRemark;
    }

      public void setGoodsRemark(String goodsRemark) {
          this.goodsRemark = goodsRemark;
      }

    @Override
    public String toString() {
        return "OrderDetail{" +
              "orderId=" + orderId +
                  ", goodsName=" + goodsName +
                  ", goodsNumber=" + goodsNumber +
                  ", goodsUnit=" + goodsUnit +
                  ", goodsUnitPrice=" + goodsUnitPrice +
                  ", goodsTotal=" + goodsTotal +
                  ", goodsRemark=" + goodsRemark +
              "}";
    }
}
